package com.backend.springboot_project_demo.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Usage {
    private String username;
    private String password;
    private String verificationCode;

    public UserTransfer toUserTransfer() {
        return new UserTransfer(
                this.username,
                this.password
        );
    }
}
